package com.geminisystems.service;

import com.geminisystems.entity.Product;
import com.geminisystems.exception.EntityException;
import java.util.List;

/**
 *
 * @author Dmitry
 */
public interface ProductService {
    
    public Long saveProduct(Product product) throws EntityException;
    public void deleteProduct(Product product) throws EntityException;
    public Product getProductById(Long id);
    public List<Product> findProductsByName(String str); 
    public List<Product> getProducts();
    
    
}
